Scaling adjustment using pilot signal

ABSTRACT

A demodulator ( 10 ) converts television signals to video baseband signals and audio baseband signals including stereo signals representing a right channel signal value, a left channel signal value and a pilot signal having an amplitude. A DSP ( 60 ) recursively finds a coefficient value for scaling that keeps the pilot signal amplitude within a range of values, there by improving baseband signal quality, such as stereo separation of stereo signals within the baseband signals.

BACKGROUND OF THE INVENTION

[0001] This invention relates to decoding audio signals and more particularly relates to adjustment of scaling to improve signal quality, such as enhancing stereo separation.

[0002] During the 1980s, the FCC adopted the BTSC format as a standard for multichannel television sound (MTS). Typically, the BTSC format is used with a composite TV signal that includes a video signal, as well as the BTSC format for sound reproduction.

[0003] The BTSC format is similar to FM stereo, but has the ability to carry two additional audio channels. Left plus right channel mono information is transmitted in a way similar to stereo FM in order to ensure compatibility with monaural television receivers. A 15.734 KHz pilot signal is used, instead of the FM stereo 19 KHz pilot signal, which allows the pilot signal to be phase-locked to the horizontal line frequency. A double sideband-suppressed carrier at twice the frequency of the pilot transmits the left minus right stereo information. The stereo information is dbx encoded to aid in noise reduction. An SAP channel is located at 5 times the pilot frequency. The SAP channel may be used for second language or independent source program material. A professional audio channel may be added at 6.5 times the plot frequency in order to accommodate additional voice or data.

[0004] Stereo tuners and demodulator units capable of decoding the BTSC format have been on the market for some time. The front end of the units typically includes analog components or integrated circuit chips that cause variation in the amplitude of the composite signal, including the BTSC portion of the signal. This variation in amplitude reduces signal quality. For example the variation reduces stereo separation of the right and left channel information carried in the composite signal. This invention addresses the problem and provides a solution.

[0005] Further limitations and disadvantages of conventional and traditional approaches will become apparent to one of skill in the art, through comparison of such systems with the present invention as set forth in the remainder of the present application with reference to the drawings.

BRIEF SUMMARY OF THE INVENTION

[0006] One method embodiment of the invention is useful in a demodulator suitable for converting television signals to video baseband signals and audio baseband signals including a pilot signal having an amplitude. In such an environment, the quality of the demodulated audio baseband signals may be improved by a method comprising converting at least the audio baseband signals to corresponding digital audio baseband signals, including a digital pilot signal. At least a portion of the digital audio baseband signals, including the digital pilot signal, is scaled according to a coefficient having an adjustable coefficient value. The amplitude of the digital pilot signal is detected, and the coefficient value is adjusted in the event that the amplitude is outside a predetermined range of amplitudes.

[0007] One apparatus embodiment of the invention includes a computer readable medium encoded with a computer program which when executed by a computer improves the quality of audio baseband signals including a plot signal having an amplitude, the audio baseband signals having been converted to corresponding digital audio baseband signals, including a digital pilot signal. The computer program causes the computer to perform a method comprising:

[0008] scaling at least a portion of the digital audio baseband signals, including the digital pilot signal, according to a coefficient having an adjustable coefficient value;

[0009] detecting the amplitude of the digital pilot signal; and

[0010] adjusting the coefficient value in the event that the amplitude is outside a predetermined range of amplitudes.

[0011] By using the foregoing techniques, the quality of audio signals may be improved. For example, stereo separation of stereo signals within the audio signals may be improved.

[0012] These and other advantages and novel features of the present invention, as well as details of an illustrated embodiment thereof, will be more fully understood from the following description and drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0013]FIG. 1 is a schematic diagram of one form of a demodulator made in accordance with the invention, including a digital signal processor (DSP).

[0014]FIG. 2 is a diagram illustrating the BTSC signal frequency format.

[0015]FIG. 3 is a flow diagram illustrating steps performed by the DSP shown in FIG. 1.

[0016]FIG. 4 is a flow diagram illustrating demodulation of the stereo signals shown in FIG. 2.

DETAILED DESCRIPTION OF THE INVENTION

[0017] Referring to FIG. 1, a demodulator 10 made in accordance with one form of the invention includes an input path 20 that receives an analog composite TV signal that comprises a video signal, as well as a BTSC format stereo signal that has been frequency modulated on a carrier signal. The BTSC format stereo signal includes signals representing a right channel signal value and a left channel signal value, as well as a pilot signal having an amplitude.

[0018] A tuner 30 tunes the demodulator to the carrier signal. A demodulator 40 demodulates the analog composite TV signal to analog baseband signals, including the BTSC format stereo signal.

[0019] An analog to digital converter (A/D) 50 converts the analog BTSC format signals to corresponding digital signals. A/D 50 samples at a rate of 316.406 KHz.

[0020] A digital signal processor (DSP) 60 receives the digital signals and operates on them by executing algorithms stored in a memory 70.

[0021] The DSP generates a signal corresponding to the left stereo channel on an output port 62 and generates a signal corresponding to the right stereo channel on an output port 64. The digital signal on ports 62 and 64 are processed by a digital to analog (D/A) converter 80 in order to generate an analog left channel signal on a path 82 and to generate an analog right channel signal on a path 84.

[0022] The baseband BTSC component of the composite TV signal generated by demodulator 40 is illustrated in FIG. 2. A frequency band 90 from 0-15 KHz carries the sum of the left and right stereo channel signals (the L+R signal). A pilot signal 92 is carried at 15.734 KHz. A frequency band 94 centered at twice the pilot signal frequency carries the difference between the left and right stereo channel signals (the L−R signal). A frequency band 96 centered at five times the pilot signal frequency carries an SAP signal. A frequency band 98 centered at 6.5 times the frequency of the pilot signal carries a professional channel.

[0023]FIG. 3 is a flow chart illustrating one step performed by A/D 50 and various operations performed by DSP 60 by executing one of the algorithms stored in memory 70. In general, the pilot tone amplitude relative to the BTSC composite signal amplitude, specified by OET Bulletin No.60, is 5 KHz of frequency deviation versus 73 KHz frequency deviation of the composite signal. Since the composite signal is frequency modulated, the 5 KHz value corresponds to the desired amplitude of the pilot signal. Pilot signal amplitude is detected and used as a scaling reference to correct composite signal amplitude. According to OET Bulletin No.60, the maximum pilot signal amplitude error is +/−0.5 KHz, which is +/−10%. This error still keeps the stereo separation above 20 dB. Since the pilot signal amplitude and frequency is well controlled in encoder design, and the amplitude error typically is around 3-5%, the resulting stereo separation typically is somewhere between 25 to 30 dB if demodulation amplitude error is 3-5% or less.

[0024] Still referring to FIG. 3, in a step 102, A/D 50 converts analog BTSC format audio signals to corresponding digital audio signals, including a digital pilot signal having an amplitude. In a step 104, DSP 60 scales the digital signals corresponding to the amplitude of the L+R signal and the amplitude of the L−R signal, as well as the digital pilot signal, according to a coefficient value. The scaling may be carried out by a multiplication function. The coefficient value determines the factor by which the amplitudes of the L+R and L−R signals, as well as the digital pilot signal, are multiplied. The coefficient value is stored in memory 70.

[0025] In a step 106, in response to the digital signals scaled in step 104, DSP 60 detects the digital pilot signal amplitude. The amplitude is detected by full wave rectifying the digital pilot signal and time constant averaging the rectified pilot signal. The choice of time constant is based on frequency of the digital pilot signal.

[0026] In a step 108, if the pilot amplitude is outside a predetermined range of amplitude values, the coefficient value is changed in a step 112, and the program loops back to step 104. Step 108 is performed by normalizing the detected amplitude and comparing the normalized amplitude with a programmable range of reference values. The range may be zero, in which case, the normalized amplitude is compared with a reference value alone without a range. For example, the reference value may be 5 KHz and the range may be 5 KHz plus or minus 1 percent.

[0027] The coefficient value is increased or decreased depending on the relationship between the range of reference values and the normalized amplitude. For example, if the normalized amplitude is above the range of reference values, the coefficient value is decreased to decrease the digital pilot signal amplitude. If the normalized amplitude is below the range of reference values, the coefficient value is increased to increase the digital pilot signal amplitude. The increased coefficient value may be achieved by incrementing the coefficient value and the decreased coefficient value may be achieved by decrementing the coefficient value.

[0028] If the normalized amplitude is within the programmable range of reference values, then the current coefficient value is retained as described in a step 110, and the program loops back to step 104.

[0029] Additional details about the algorithms stored in memory 70 are described in the following applications filed on the same day as this application and incorporated by reference in their entirety: “System and Method of Performing Digital Multi-Channel Audio Signal Decoding,” filed under docket number 13578US01; System and Method for SAP FM Demodulation,” filed under docket number 13586US01; “Method and Apparatus of Performing Sample Rate Conversion of a Multi-Channel Audio Signal,” filed under docket number 13587US01 and “Scaling Adjustment To Enhance Stereo Separation,” filed in the name of David Wu under docket number 13588US01.

[0030] Memory 70 comprises a computer readable medium encoded with a computer program which when executed by DSP 60 causes DSP 60 to perform the steps shown in FIGS. 3 and 4. The computer program may be stored on other readable medium, such as magnetic media, including floppy disks, and optical media, including CD-ROMs and DVD disks.

[0031]FIG. 4 describes the steps carried out by DSP 60 to demodulate the L−R and L+R stereo signals within the audio baseband signals. In a step 130, DSP 60 demodulates the L−R signal; in a step 132, DSP 60 low pass filters the demodulated L−R signal; and in a step 134, DSP 60 decodes the dbx encoding of the L−R signal.

[0032] Still referring to FIG. 4, in a step 136, DSP 60 low pass filters the L+R signal, and in a step 138 DSP 60 de-emphasizes the L+R signal. (Emphasis is used to reduce noise in the composite TV signal. De-emphasis is performed to restore the original wave shape of the signal before emphasis.)

[0033] In a step 140, DSP 60 performs a de-matrix operation on the L−R signal and the L+R signal in order to generate a left channel digital signal 142 and a right channel digital signal 144. Any mismatch in the amplitude of the right and left channel digital signals causes loss of stereo separation. However, due to the adjustment of the coefficient values performed in steps 108 and 112, any loss of separation is reduced.

[0034] While the invention has been described with reference to one or more preferred embodiments, those skilled in the art will understand that changes may be made and equivalents may be substituted without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular step, structure, or material to the teachings of the invention without departing from its scope. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims. 

What is claimed is:
 1. In a demodulator suitable for converting television signals to video baseband signals and audio baseband signals including a pilot signal having an amplitude, a method of improving the quality of the demodulated audio baseband signals comprising: converting at least the audio baseband signals to corresponding digital audio baseband signals, including a digital pilot signal; scaling at least a portion of the digital audio baseband signals, including the digital pilot signal, according to a coefficient having an adjustable coefficient value; detecting the amplitude of the digital pilot signal; and adjusting the coefficient value in the event that the amplitude is outside a predetermined range of amplitudes.
 2. The method of claim 1 wherein the audio baseband signals comprise audio baseband signals according to the BTSC standard.
 3. The method of claim 1 wherein the scaling comprises multiplying.
 4. The method of claim 1 wherein the predetermined range of amplitudes includes 5 KHz and the range has a zero value.
 5. The method of claim 1 wherein the predetermined range of amplitudes comprises a range of amplitudes within 1 percent of 5 KHz.
 6. The method of claim 1 wherein said converting comprises converting at a sampling rate exceeding 300 KHz.
 7. The method of claim 1 wherein said improving the quality comprises improving stereo separation of stereo signals within the audio baseband signals.
 8. The method of claim 1 wherein said detecting comprises: full wave rectifying the digital pilot signal; and time constant averaging of the rectified digital pilot signal.
 9. The method of claim 8 wherein the time constant averaging is based on the frequency of the digital pilot signal.
 10. The method of claim 1 wherein said adjusting the value comprises: normalizing the amplitude; and comparing the normalized amplitude with a programmable reference range of amplitude values.
 11. The method of claim 10 wherein the adjusting further comprises increasing the coefficient value if the normalized amplitude value has a first relationship with respect to the reference range of amplitude values and decreasing the coefficient value if the normalized amplitude value has a second relationship with respect to the reference range of amplitude values.
 12. The method of claim 11 wherein the first relationship comprises one of an amplitude value greater than the reference range of amplitude values and an amplitude value less than the reference range of amplitude values and wherein the second relationship is opposite the first relationship.
 13. The method of claim 12 wherein the increasing comprises incrementing and wherein the decreasing comprises decrementing.
 14. A computer readable medium encoded with a computer program which when executed by a computer improves the quality of audio baseband signals including a plot signal having an amplitude, the audio baseband signals having been converted to corresponding digital audio baseband signals, including a digital pilot signal, by causing the computer to perform a method comprising: scaling at least a portion of the digital audio baseband signals, including the digital pilot signal, according to a coefficient having an adjustable coefficient value; detecting the amplitude of the digital pilot signal; and adjusting the coefficient value in the event that the amplitude is outside a predetermined range of amplitudes.
 15. The medium of claim 14 wherein the audio baseband signals comprise audio baseband signals according to the BTSC standard.
 16. The medium of claim 14 wherein the scaling comprises multiplying.
 17. The medium of claim 14 wherein the predetermined range of amplitudes includes 5 KHz and the range has a zero value.
 18. The medium of claim 14 wherein the predetermined range of amplitudes comprises a range of amplitudes within 1 percent of 5 KHz.
 19. The medium of claim 14 wherein said converting comprises converting at a sampling rate exceeding 300 KHz.
 20. The medium of claim 14 wherein said improving the quality comprises improving stereo separation of stereo signals within the audio baseband signals.
 21. The medium of claim 14 wherein said detecting comprises: full wave rectifying the digital pilot signal; and time constant averaging of the rectified digital pilot signal.
 22. The method of claim 21 wherein the time constant averaging is based on the frequency of the digital pilot signal.
 23. The medium of claim 14 wherein said adjusting the value comprises: normalizing the amplitude; and comparing the normalized amplitude with a programmable reference range of amplitude values.
 24. The method of claim 23 wherein the adjusting further comprises increasing the coefficient value if the normalized amplitude value has a first relationship with respect to the reference range of amplitude values and decreasing the coefficient value if the normalized amplitude value has a second relationship with respect to the reference range of amplitude values.
 25. The method of claim 24 wherein the first relationship comprises one of an amplitude value greater than the reference range of amplitude values and an amplitude value less than the reference range of amplitude values and wherein the second relationship is opposite the first relationship.
 26. The method of claim 25 wherein the increasing comprises incrementing and wherein said decreasing comprises decrementing. 